package com.mezz.bones.im.common.service;

import com.mezz.bones.im.common.domain.request.UserSignRequest;
import com.mezz.bones.im.common.domain.user.ImUserAuthInfo;

/**
 * @Author: zhuang
 * @Date: 2024/12/5 17:13
 * @Description: TODO
 * @Version: 1.0
 **/

public interface IAuthService {

    String generateToken(UserSignRequest request);

    ImUserAuthInfo authUser(String token);

    ImUserAuthInfo validateToken(String token);

    void validateSign(String sign);
}
